home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / dev / mui / bcc_src.lha / Parser / InserFile.h < prev    next >
C/C++ Source or Header  |  1996-12-22  |  256b  |  22 lines

  1. #include <stdio.h>
  2.  
  3. class InsertFile {
  4.  
  5.     char fname;
  6.     
  7.     unsigned long size;
  8.     void *data;
  9.  
  10.     void Load( void );
  11.     void Free( void );    
  12.     
  13. public:
  14.  
  15.     InserFile( char name ): fname = name, data = 0 { }
  16.     ~InsertFile() {
  17.         Free();
  18.     }
  19.     
  20.     short Insert( FILE *fh );
  21.  
  22. };